package com.company.ecis.service;


import com.company.ecis.entity.Trade;
import com.baomidou.mybatisplus.extension.service.IService;


import com.company.ecis.domain.ReturnObject;
import com.company.ecis.domain.Tradecodition;
import com.company.ecis.entity.Trade;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.text.ParseException;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-04
 */
public interface TradeService extends IService<Trade> {
    /**
     * 添加流水接口
     * @param trade 流水信息
     * @return 操作结果标识
     */
    boolean insertTrade(Trade trade);

    public ReturnObject findByCondition(Integer page, Integer limit, Tradecodition tradecodition, HttpSession session) throws ParseException;


}
